#include "cmybutton.h"
#include <QVBoxLayout>

CMyButton::CMyButton(QWidget *parent)
    :QPushButton(parent)
{
    this->setFixedSize(64,88);
    this->setText("");

    m_pTextLabel = new QLabel(this);
    m_pTextLabel->setFixedSize(64,64);
   // m_pIconLabel->setPixmap(QPixmap(":/resources/save.png"));

    m_pIconLabel = new QLabel(this);
    m_pIconLabel->setFixedSize(64,24);
        m_pIconLabel->setPixmap(QPixmap(":/resources/save.png"));

    QVBoxLayout* pVlay  = new QVBoxLayout(this);
    pVlay->addWidget(m_pTextLabel);
    pVlay->addWidget(m_pIconLabel);
}


void CMyButton::set_Icon(const QString fileName)
{

}
void CMyButton::set_Text(const QString text)
{

}
